-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add multipart writer #27
base: master
Are you sure you want to change the base?
Conversation
Move the reader into a separate module
8a1fb5c
to
b43cc8b
Compare
Implemented improved API and added unittests. |
b43cc8b
to
add1f65
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new API is better although I think it has issues that I hadn't thought of (see related comment). Other comments are mostly trivial. Also, it would be good to have this pass the CI.
I think the way you handled it (i.e. by converting incomparable values to comparable ones) is good. |
fdc803f
to
2eb4b74
Compare
Fix bug where the all the files would end up in the same stream Add test with multiple «files» Add test/utils.mli Removed old files and unused functions
2eb4b74
to
495f21e
Compare
Rename requests -> parts in write function
And remove a lot of dead code
5d0f1a3
to
a98dcab
Compare
a98dcab
to
0c2383e
Compare
Major update to the package including :
Reader
moduleWriter
module able to write multipart request bodies (compatible with cohttp-lwt)